.list .line .element {
    display:inline-block;
    height: 100%;
    vertical-align: middle;
}

.list .line {
    background-color: white;
    border: 1px solid #ccc;
    margin-bottom:3px;
    width:100%;
    min-height: 23px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.list .turnedheadline .turned {
    display: inline-block;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: relative;
    top: -8px;
    left: 4px;
    width: 107px;
    border-bottom: 1px solid #CCC;
}

.list {
    max-height: 560px;
    display: inline-block;
    overflow:auto;
    overflow-x: hidden;
}


.list .headline{
    position: absolute;
    font-weight: bold;
    z-index: 100;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    top: -35px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
    height: 23px;
    padding-top: 5px;
}

.list .turnedheadline{
    position: absolute;
    top:-85px;
    font-weight: bold;
    z-index: 100;
    height: 75px;
    vertical-align: bottom;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.list .turnedheadline > .element {
    padding-top: 30px;
    height: 25px;
}

.list .turnedheadline + .data{
    margin-top: 0px;
}

.list .footline {
    position: absolute;
    bottom: -45px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
    height: 30px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;;
}

.list .footline form{
    display: inline-block;
}

#results .footline .found {
    margin-left: 10px;
    width: 199px;
    font-weight: bold;
    top: 6px;
    position: relative;
}